package com.intelligent.system.auth.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
@ApiModel("角色状态修改参数")
public class RoleStatusDTO {
    @ApiModelProperty("角色ID")
    @NotNull(message = "角色ID不能为空")
    private Long roleId;

    @ApiModelProperty("状态(0:禁用,1:启用)")
    @NotNull(message = "状态不能为空")
    private Byte status;
} 